﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.OMM.Translator.LayoutCatalog.STM
{
    public static class Message0103
    {
        /// <summary>
        /// 
        /// </summary>
        public static class ID
        {
            public const int StartIndex = 16;
            public const int Length = 4;
        }      

        /// <summary>
        /// 
        /// </summary>
        public static class Stock
        {
            public const int StartIndex = 28;
            public const int Length = 12;
        }

        /// <summary>
        /// 
        /// </summary>
        public static class NaturezaOperacao
        {
            public const int StartIndex = 76;
            public const int Length = 1;
        }

        /// <summary>
        /// 
        /// </summary>
        public static class Operator
        {
            public const int StartIndex = 106;
            public const int Length = 3;
        }

        /// <summary>
        /// 
        /// </summary>
        public static class Client
        {
            public const int StartIndex = 110;
            public const int Length = 16;
        }

        public static class SystemDate
        {
            public const int StartIndex = 20;
            public const int Length = 8;
        }

        public static class OrderQuantity
        {
            public const int StartIndex = 50;
            public const int Length = 12;
        }

        public static class Price
        {
            public const int StartIndex = 41;
            public const int Length = 9;
        }

        public static class DecimalPrice
        {
            public const int StartIndex = 40;
            public const int Length = 1;
        }

        public static class Counterparty
        {
            public const int StartIndex = 77;
            public const int Length = 8;
        }

        //public static class MegaOrder
        //{
        //    public const int StartIndex = 28;
        //    public const int Length = 6;
        //}

        public static class Security
        {
            public const int StartIndex = 28;
            public const int Length = 12;
        }

        public static class FunctionCode
        {
            public const int StartIndex = 16;
            public const int Length = 4;
        }
    }
}
